<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui"/>
    <title>订单详情页面</title>
    <link rel="stylesheet" type="text/css" href="/css/reset_m.css">
    <link rel="stylesheet" type="text/css" href="/css/main.css">
    <link rel="stylesheet" type="text/css" href="/css/aui.css"/>
    <style>
        .btn-bot-fixed1 {
            position: fixed;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 44px;
            z-index: 999;
            background-color: #fff;
        }

        .btn-bot-fixed1 .btn1 {
            width: 7em;
            height: 44px;
            line-height: 44px;
            float: right;
            color: #fff;
            text-align: center;
            background-color: #551da4;
        }

        .btn-bot-fixed1 {
            padding-left: 10px;
            line-height: 44px;
        }
    </style>
</head>

<body style="background-color: #f5f5f5;">

<header class="aui-bar aui-bar-nav" id="aui-header">
    <a class="aui-btn aui-pull-left goblack" href="javascript:history.back(-1)">
        <span class="aui-iconfont aui-icon-left"></span>
    </a>
    <div class="aui-title">订单查看</div>
</header>

<div class="pg-orderdetail">
    <div class="blockH"></div>
    <div class="card">
        <div class="cardcell flex userinfo">
            <img src="/images/icon_map.png" alt="" class="icon">
            <div class="flexitem">
                <h1 class="username" style="font-size:20px;">姓名&nbsp;&nbsp;&nbsp;&nbsp;${(User.userName=="")?string("",'${User.userName}')}</h1>
                <h3 class="username" style="font-size:15px;">手机号&nbsp;&nbsp;&nbsp;&nbsp;${(User.userPhone=="")?string("",'${User.userPhone}')}</h3>
                <p class="useradd" style="font-size:14px;">地&nbsp;址：&nbsp;&nbsp;&nbsp;${(User.userAddress=="")?string("",'${User.userAddress}')}</p>
            </div>
        </div>
    </div>
    <div class="blockH"></div>
    <div class="card">
        <div class="cardcell goodsinfo">
            <h2 class="shopname"><#list OrderType as ordty><#if Order.orderType ==
                ordty.typeTypeid>${ordty.typeTypevalue}</#if>
        </
        #list></h2>
        <div class="flex ">
            <img src="/${MerAcv}" class="goodspic">
            <div class="flexitem ellipsis ">
                <h2 class="ellipsis goodsname" style="font-size:15px;"> <#if (MerSer)??><#list MerSer as merser><#if
                    merser.id == Order.merserId && Order.merchantsId == merser.merchId>${merser.merchSerAccount}</#if>
            </
            #list>
        </
        #if></h2>
        <p class="goodsnum" style="font-size:15px;">数量：<span style="color:red">${(Order.orderNum!=0)?string('${Order.orderNum}',"")}</span>
        </p>
        <p>单价：<span style="color:red">￥
       					<#if (MerSer)??>
       					 <#list MerSer as merser>
		       					<#if   Order.merchantsId == merser.merchId   &&  Order.merserId == merser.id >
		       					${merser.merchSerPrice}
		       					</#if>

        </#list>
    </
    #if></span></p>
</div>
</div>
</div>
</div>
<div class="blockH"></div>
<div class="card">
    <div class="border-bot cardcell fontgray fontsmall">
        <p>订单编号： ${(Order.orderNumber!="")?string('${Order.orderNumber}',"")}</p>
        <p>下单时间： ${(Order.orderDate??)?string('${Order.orderDate?datetime}',"")}</p>
    </div>
    <div class="border-bot cardcell fontgray fontsmall">
        <p>支付方式：${(Order.orderWay!="")?string('${Order.orderWay}','')}</p>
    </div>
    <div class="border-bot cardcell fontgray fontsmall">
        <p>是否优惠:</p>
        <#if Order.orderVouchers == 0 >
        <p>未优惠</p>
        <#else>
        <p style="color:red;"><span><#list VoucherType as vty><#if Vouchers.vouchersType == vty.typeTypeid>${vty.typeTypevalue}</#if>
        </#list></span></p>
        <p><span style="color:red">已优惠:￥${Vouchers.vouchersPrice}</span></p>
        <p style="color:red">使用规则：${Vouchers.vouchersRule}</p>
    </
    #if>
</div>
</div>
<div class="blockH"></div>
<div class="card">
    <div class="border-bot cardcell fontgray fontsmall">
        <p>订单总额<span class="fr" style="color: red;">
       			<#if (Order.orderPrice) gte (Vouchers.vouchersFull)>
       				￥${Order.orderPrice - Vouchers.vouchersPrice}
       		    <#else>
       		    	￥${Order.orderPrice}	
       			</#if>
            </span></p>
    </div>
</div>
<div class="btn-bot-fixed1">
    <span class="deleteorder" style="font-size:14px;">删除订单</span>
    <a href="javascript:history.back(-1)" class="btn1">确定</a>
</div>
</div>
</body>

</html>